# -*- coding: utf-8 -*-
# @Author   : niejiali
# @Time     : 2019/1/17 9:54
# @File     : decorator.py
# @Software : PyCharm
import time


def decorator(func):
    def wraper():
        print(time.time())
        func()
    return wraper


@decorator
def f1():
    print("XX1")


f1()